﻿/**
作者：
 */
package com.zito.bean;

import javax.validation.groups.Default;


import com.downlove.validation.match.CheckMatch;
import com.zito.pojo.AdsPOJO;

public class Ads extends AdsPOJO {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4047695266997222718L;
	private Long id;
	private Long typeid;
	private String midea;
	private String startdate;
	private String enddate;
	private int active;
	private int width;
	private int height;
	private String info;
	private String htmlcode;
	private String jscode;
	private String files;
	@CheckMatch(key="validation.isURL",message = "链接地址格式错误", groups = { Default.class })
	private String url;
	private String name;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setTypeid(Long typeid) {
		this.typeid = typeid;
	}

	public Long getTypeid() {
		return typeid;
	}

	public void setMidea(String midea) {
		this.midea = midea;
	}

	public String getMidea() {
		return midea;
	}

	public void setStartdate(String startdate) {
		this.startdate = startdate;
	}

	public String getStartdate() {
		return startdate;
	}

	public void setEnddate(String enddate) {
		this.enddate = enddate;
	}

	public String getEnddate() {
		return enddate;
	}

	public void setActive(int active) {
		this.active = active;
	}

	public int getActive() {
		return active;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getWidth() {
		return width;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getHeight() {
		return height;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getInfo() {
		return info;
	}

	public void setHtmlcode(String htmlcode) {
		this.htmlcode = htmlcode;
	}

	public String getHtmlcode() {
		return htmlcode;
	}

	public void setJscode(String jscode) {
		this.jscode = jscode;
	}

	public String getJscode() {
		return jscode;
	}

	public void setFiles(String files) {
		this.files = files;
	}

	public String getFiles() {
		return files;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

}
